package org.example.test.domain.strategy;

import lombok.extern.slf4j.Slf4j;
import org.example.infrastructure.persistent.dao.IStrategyAwardDao;
import org.example.infrastructure.persistent.po.StrategyAward;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import javax.annotation.Resource;
import java.util.List;

@Slf4j
@RunWith(SpringRunner.class)
@SpringBootTest
public class StrategyQueryTest {

    @Resource
    IStrategyAwardDao strategyAwardDao;

    @Test
    public void test() {
        List<StrategyAward> strategyAwardslist = strategyAwardDao.queryStrategyAwardListByStrategyId(100006L);
        for(StrategyAward strategyAward : strategyAwardslist){
            System.out.println(strategyAward);
        }
        System.out.println(1);
    }
}
